<div class="widget">	
	<div class="widget widget-table">   
		<div class="widget-header">						
			<h3>
				<i class="icon-th-list"></i>
				Informe al sismed
			</h3>
		</div> <!-- /widget-header -->
		<div class="widget-content">
			{% csrf_token %}
			<table class="table table-striped table-bordered table-highlight" id="example" width="100%">
				<thead>
				<tr>
					<th width="5%">Cons</th>
					<th width="25%" align="center">Medicamento</th>
					<th width="15%" align="center">Laboratorio</th>
					<th width="10%" align="center">Cod. Cum</th>
					<th width="8%" align="center">Cost. Min</th>
					<th width="8%" align="center">Cost. Max</th>
					<th width="8%" align="center">Vlr. Comp</th>
					<th width="5%" align="center">Cant.</th>
					<th width="8%" align="center">Fact. Min</th>
					<th width="8%" align="center">Fact. Max</th>
				</tr>
				</thead>
				<tbody>
				{% for lCiclo, item in Items.items %}
					<tr class="{% cycle '' 'odd' %}">
						<td align="right"><label>{{ forloop.counter }}</label></td>
						<td align="right"><label>{{ item.Producto.nombre }}</label></td>
						<td align="left"><label>{{ item.Producto.laboratorio.nombre }}</label></td>
						<td align="left"><label>{{ item.Producto.cum|default_if_none:"" }}</label></td>
						<td align="center"><label>{{ item.valor_minimo|default_if_none:"" }}</label></td>
						<td align="center"><label>{{ item.valor_maximo|default_if_none:"" }}</label></td>
						<td align="center"><label>{{ item.valor_compra|default_if_none:"" }}</label></td>
						<td align="left"><label>{{ item.cantidad }}</label></td>
						<td align="left"><label>{{ item.f_min|default_if_none:"" }}</label></td>
						<td class="table_center" ><label>{{ item.f_max|default_if_none:"" }}</label></td>
					</tr>
				{% endfor %}
				</tbody>
			</table>
		</div> <!-- /. widget-content -->
	</div> <!-- /. widget-table -->
</div> <!-- /. widget -->